package com.zy.order.client;

import client.BaseStockController;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 这是那头猪？
 * @version 1.0
 * @description: TODO
 * @date 2023/6/5 10:12
 */
@FeignClient(name = "stock-service", path = "stock", fallback = StockRollback.class)
public interface StockClinet {
    @GetMapping("hello")
    String hello();
}
